/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine SDK - graphics/buffers
// Copyright( c) 2015.  All Rights Reserved
//
// File:		AEVertexBufferManager.h
// Author:		Gianluca Belardelli
// Date:		12/02/2015
//
/////////////////////////////////////////////////////////////////////////
#ifndef _AEVERTEXBUFFERMANAGER_H_
#define _AEVERTEXBUFFERMANAGER_H_

class AEVertexBufferManager : public AEResourceManager
{
public:
	AE_DECLARE_PLACEMENT_ALLOCATOR();

	/// \brief Costruttore
	AE_DLLIMPEXP AEVertexBufferManager( const char *lpName = AE_RESOURCEMANAGER_VERTEXBUFFER );

	/// \brief
	///   Overridden function to create a texture resource from the specified file
	AE_DLLIMPEXP virtual AEResource *CreateResource( const char *lpFilename, AEINT32 nFlags = 0 );

	AE_DLLIMPEXP AEVertexBuffer *CreateVertexBuffer( const char *lpName, AEUINT32 uiElementCount, AEUINT32 uiStride, AEINT32 nFlags = 0 );
	AE_DLLIMPEXP AEIndexBuffer *CreateIndexBuffer( const char *lpName, AEUINT32 uiElementCount, AEIndexFormat eFormat = AEINDEXFORMAT_16, AEINT32 nFlags = 0 );

};

#endif // _AEVERTEXBUFFERMANAGER_H_
